PrintMyBlog\compatibility\plugins\Wpml A

Total Complexity 58
Dependencies 17
Dependents 0
Total lines 636
Lines of code 410
Logical lines of code 159
Comment lines 159
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
addTranslationOptions()
A
35 7 110
showTranslationsOnProjectItems()
A
47 7 36
addLanguageFilter()
S
52 5 26
handleAjaxUpdateProjectLanguage()
S
51 5 26
sortTranslatedPosts()
S
57 5 18
fixNewPmbPost()
S
54 4 24
fixPmbContentTranslations()
S
47 2 45
changeUrlToProjectLanguage()
S
64 3 10
enqueueWpmlCompatAssets()
S
63 2 13
setHooks()
S
51 1 27
updateTranslatedProjectsToo()
S
70 2 6
getProjectLanguage()
S
78 2 3
updateTranslatedDesignsToo()
S
70 2 6
whereWpmlCondition()
S
65 2 9
setPrintPageLanguage()
S
69 2 7
setupWpQueryWithWpml()
S
60 1 12
inject()
S
74 1 5
unsetTranslatedProject()
S
73 1 5
setTranslatedProject()
S
67 1 7
doneWpQuery()
S
67 1 7
joinToWpmlLanguagesTable()
S
72 1 5
postsRequest()
S
82 1 3